<?php if (!defined('THINK_PATH')) exit();?><!DOCTYPE html>
<html lang="zh-CN">
<head>
	<meta charset="utf-8">
	<title>Dashboard Template for Bootstrap</title>
	<link rel="stylesheet" type="text/css" href="/xiaomi/Public/css/type.css" />
	<script src="/xiaomi/Public/js/jquery.min.js"></script>
</head>
<body class="admin_layout">
<header class="admin_header">
	<h2>小米商城后台管理系统</h2> 
  <ul>
		<li>欢迎您：Admin&emsp;</li>
		<li>|</li>
		<li><a href="#">&emsp;前台首页&emsp;</a></li>
		<li>|</li>
		<li><a href="#">&emsp;退出登录&emsp;</a></li>
	</ul>
  
</header>


<div class="admin_main">
<aside class="sidebar" id="selector">
	<ul>
		<li><a href="/xiaomi/index.php?s=/Admin/Index/index" id="">后台首页</a></li>
		<li><a href="/xiaomi/index.php?s=/Admin/Goodcategory/index" id="">分类管理</a></li>
		<li><a href="/xiaomi/index.php?s=/Admin/Goods/checkGoods" id="">商品管理</a></li>
		<li><a href="/xiaomi/index.php?s=/Admin/Goods/recycleIndex" id="">下架商品</a></li>
		<li><a href="/xiaomi/index.php?s=/Admin/Order/index" id="">订单管理</a></li>
		<li><a href="/xiaomi/index.php?s=/Admin/User/index" id="">顾客管理</a></li>
		<li><a href="/xiaomi/index.php?s=/Admin/Goods/marketing" id="">营销管理</a></li>
		<!-- <li><a href="/xiaomi/index.php?s=/Admin/Warehouse/warehouse.html" id="">仓库管理</a></li> -->
		<li><a href="/xiaomi/index.php?s=/Admin/Orderdetail/index" id="">评论管理</a></li>
		<li><a href="/xiaomi/index.php?s=/Admin/Picture/index" id="">模块管理</a></li>
		<li><a href="/xiaomi/index.php?s=/Admin/Goodattribute/checkGoodAttribute" id="">商品属性</a></li>
	</ul>
</aside>
<section class="admin_section">
	<div>
	<!DOCTYPE html>
<html lang="en">
<head>
	<meta charset="UTF-8">
	<title>goods add</title>
	<link rel="stylesheet" type="text/css" href="/xiaomi/Public/css/type.css" />
	<link rel="stylesheet" type="text/css" href="/xiaomi/Public/css/tab.css" />
	<script type="text/javascript" src="/xiaomi/Public/js/admin.js"></script>
	<script type="text/javascript" src="/xiaomi/Public/js/jquery.min.js"></script>
	<link href="/xiaomi/Public/ueditor/themes/default/css/umeditor.min.css" rel="stylesheet" />
	<script src="/xiaomi/Public/ueditor/third-party/jquery.min.js"></script>
	<script src="/xiaomi/Public/ueditor/umeditor.config.js"></script>
	<script src="/xiaomi/Public/ueditor/umeditor.min.js"></script>
	<script src="/xiaomi/Public/ueditor/lang/zh-cn/zh-cn.js"></script>
	

	<style>
		.data-edit{
		border:1px solid #ddd;
		background:#F7F7F7;
		width:auto;
		padding:20px 40px;
		}
	</style>
</head>
<body>
	 
	<table class="classify_table1">
		<tr>
			<td>




				<span class="classify_table_title">商品修改</span>
				<span class="classify_table_button"><button><a href="/xiaomi/index.php?s=/Admin/Goods/goods.html">返回</a> </button></span>
				<span class="classify_table_button"><button><a href="/xiaomi/index.php?s=/Admin/Goods/goods_add.html">保存</a> </button></span>	
			</td>
		</tr>
		<tr>
			<td>
				<div class="goods_add_section">
					<ul id="tabs">
					  <li><a href="#" title="tab1">简介</a></li>
					  <li><a href="#" title="tab2">参数</a></li>
					  <li><a href="#" title="tab3">属性</a></li>
					  <li><a href="#" title="tab4">描述</a></li>
					</ul>

					<div id="content"><hr>
					    <div id="tab1" class="tab ff">
						    <span>商品名称：<input type="text"></span><br>
						    <span>商品编号：<input type="text"></span><br>
						    <span>商品价格：<input type="text"></span><br>
						    <span>商品数量：<input type="text"></span><br>
						    <span>商品分类：
							    <select name="" id="">
							    	<option value="">手机</option>
							    	<option value="">电脑</option>
							    </select>
							</span><br>
						    <span>是否上架：
							    <select name="" id="">
							    	<option value="">是</option>
							    	<option value="">否</option>
							    </select>
							</span><br>
						    <span>上架时间：<input type="date"></span><br>
						    <span>首页推介：
							    <select name="" id="">
							    	<option value="">是</option>
							    	<option value="">否</option>
							    </select>
							</span><br>
						    <span>推介栏目：
							    <select name="" id="">
							    	<option value="">明星单品</option>
							    	<option value="">新品推荐</option>
							    </select>
							</span><br>
					    </div>
					   
					    <div id="tab2" class="tab ff">
					     	<span>产品型号：<input type="text"></span><br>
						    <span>
						    	产品净重：<input type="text">
							</span><br>
						    <span>重量单位：
						    	<select name="" id="">
							    	<option value="">千克</option>
							    	<option value="">克</option>
							    </select>
							</span><br>
						    <span>包装清单：<br>
						    	<textarea></textarea>
						    </span><br>
							<span>产品颜色：<input type="text"></span><br>
							<span>注意事项：<br>
						    	<textarea></textarea>
						    </span><br>
					    </div>
					    <div id="tab3" class="ff">
					   	 	<table class="goods_add_table">
								<tr>
									<td class="classify_thead_checkbox">
										<input type="checkbox" onclick="DoCheck()" name="allChecked" id="allChecked">
									</td>
									<td class="classify_thead_title">
										属性名
									</td>
									<td class="classify_thead_title">
										属性值
									</td>
									<td class="classify_thead_title">
										操作
									</td>
									<td class="classify_thead_title">
										删除
									</td>
								</tr>

								<tr>
									<td class="classify_thead_checkbox">
										<input type="checkbox" name="choose">
									</td>
									<td class="classify_tbody">
										<input type="text">
									</td>
									<td class="classify_tbody">
										<input type="text">
									</td>
									<td class="control_button">
										<button><a href="/xiaomi/index.php?s=/Admin/Classify/classify_index.html">保存</a> </button>
									</td>
									<td class="control_button">
										<button><a href="/xiaomi/index.php?s=/Admin/Classify/classify_index.html">删除</a> </button>
									</td>
								</tr>
					
							</table>
					    </div>
					    <div id="tab4" class="ff">
					    	<span id="ff">
									<script type="text/plain" id="myEditor" name="description"></script>		
							</span>
						</div>
					</div>
				</div>
			</td>
		</tr>
	</table>
</div>
					  
					   
	<script>
		$(function() {
			$("#content div").hide(); // Initially hide all content
			$("#tabs link:first").attr("id","current"); // Activate first tab
			$("#content div:first").fadeIn(); // Show first tab content
		    $('#tabs a').click(function(e) {
		        e.preventDefault();        
		        $("#content div.ff").hide(); //Hide all content
		        $("#tabs li").attr("id",""); //Reset id's
		        $(this).parent().attr("id","current"); // Activate this
		        $('#' + $(this).attr('title')).fadeIn(); // Show content for current tab
		    UM.getEditor('myEditor');
		    $("#ff").fadeIn();
		    });
		});

	</script>

</body>
</html>
	</div>
</section>
</div>
</body>
</html>